Skip to main content

Get depth

GET 

/bot-gateway-service/api/v3/depth

Provides a market depth snapshot for the specified symbol with the specified depth.

  • Default of the limit is 100; max 100.

Request

Query Parameters

    Symbol string

    Symbol of the order book (e.g., XCBETH).

    Example: XCBETH
    Limit int32

    Maximum number of order book levels requested (optional).

    • Default 100; max 100.
    Example: 50

Responses

Success

Schema

    lastUpdateId int64

    Last update id of the order book (e.g., 1027024).

    • It can be considered as the order book version.
    bids array[]nullable

    List of bid prices and quantities.

    • Example: "bids": [ [ "4.00000000", // PRICE "431.00000000" // QTY ] ]
    asks array[]nullable

    List of ask prices and quantities.

    • Example: "asks": [ [ "4.00000200", // PRICE "12.00000000" // QTY ] ]
Loading...